//
//  WiFiReceiveDataManager.m
//  SmartYunYiWindow
//
//  Created by JianWei Chen on 17/4/10.
//  Copyright © 2017年 JianWei Chen. All rights reserved.
//

#import "WiFiReceiveDataManager.h"

@implementation WiFiReceiveDataManager

+ (WiFiReceiveDataManager *)defaultService
{
    static WiFiReceiveDataManager *static_manager = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        static_manager = [[WiFiReceiveDataManager alloc]init];
    });
    return static_manager;
}

//- (void)handleTheBackData:(NSString *)backDataString andBackCode:(NSString *)codeString mac:(NSString *)macAddress
//{
//    DataBackBaseModel *baseModel = nil;
//    switch (strtoul([codeString UTF8String], 0, 16)) {
//        case DTDeviceToAppDataDeviceStatus:
//        {
//            baseModel = [[DataDeviceStatusModel alloc]initWithFunctionCode:codeString data:backDataString mac:macAddress];
//        }
//            break;
//        default:
//        {
//            NSLog(@"其他指令进来了");
//        }
//            break;
//    }
//    if (baseModel == nil) {
//        return;
//    }
////    [[NSNotificationCenter defaultCenter]postNotificationName:NOTIFY_DEVICE_DATA_BACK object:baseModel];
//}

@end
